/*
Theme Name: walleve-gray
Theme URI: http://www.ucd.fm/
Description: A basic, yet flexible minimalistic two column theme for WordPress
Version: 1.0
Author: wangwei
Author URI: http://ucd.fm/
Tags: white, two-column, basic, minimalistic, elastic-width, custom-page-templates, right-sidebar
*/

/* @last 2011.10.7 2:25 */

/*general layout*/
html{
    margin:0; 
    padding:0; 
}
body {
    font-size: 13px; /* Resets 1em to 10px */
    font-family: "Microsoft YaHei","Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
    color: #555555;
    text-align: center;
    margin:0;
    padding:0;
    background-color:#F5F6F7;
    /*background:url("img/bg.pngs") repeat center top;*/
}

hr{
    border: 1px solid #777777;
} 

/*font styles*/
p {
    font-style : normal; 
    padding: 0px;
} 

h1,h2, h3,h4, h5, h6 { 
    clear: both;
}
blockquote, code {
    margin-left:0px;
    margin-right:0px;
    border-top: 2px solid #EBEBEB;
    border-bottom: 2px solid #EBEBEB;
    background:#f9f9f9;
    padding:5px;
    color:#666;
}
code {
    
}

/*linkcolor*/
a:link {
    color:#ea2533;
    text-decoration : none;
}
a:visited {
    color:#ea2533;
    text-decoration : none; 
}
a:hover, a:active {
    color : #184ef3;
    text-decoration : none;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}

/*classes - these are also located in classes.css so child themes don't loose them*/
.center, .aligncenter, .centered {
    text-align: center;
}
.right, .alignright {
    float: right;
}
.left, .alignleft {
    float: left;
}
.none {
    display: none;
}
.righttxt {
    text-align:right;
}
.credits {
    clear:both;
    font-style:italic;
}


/*images these are also located in classes.css so child themes don't loose them*/
img {
    border: none;
    margin: 2px;
}
img.center, img.aligncenter, img.centered {
    display:block;
    margin:5px auto;
}
img.alignright, img.right {
    margin-left: 5px;
}
img.alignleft, img.left  {
    margin-right: 5px;
}
img.rssimg {
    margin:0px;
    position:0,center;
}

.wp-smiley {
    border:none;
    margin:0px;
}

.postcontent img {
    /*border:1pt solid #f3f3f3;*/
    max-width:100%;
    overflow: hidden;
    padding:2px;
}

.border {
    border: 1px solid #ccc;
}
/*postcontent pages*/
#postpages {
    background : #eee;
    font-weight:bold;
}

/*wrap and header*/

#wrap {
    text-align: left;
    padding: 0;
    margin:0;
}
/*解决div不继承*/
.walleve:after{ content:".";height:0px;display:block; clear:both; visibility: hidden;}

/*header通栏全局*/
#header {
    padding:0;
    margin:0 auto;
    clear:both;
}
/*头部*/
#blog_header {
    width:960px;
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: center;
}
/*start head*/
#blog_header .head_title {
    width:100%;
    clear:both;
    line-height:1.0em;
    text-align: right;
    margin-top: 15px;
}
#blog_header .head_title .name {
    font-weight:bold;
    font-size:18px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    float:right;
    margin-bottom:5px;
}
#blog_header .head_title h1 {
    font-size:18px;
    clear:none;
    display: inline;
}
#blog_header .head_title a{
    color:#184ef3;
}

#blog_header .head_title a:hover{
    color:#000000;
}

#blog_header .head_title .description {
    color:#bbbbbb;
    font-size:12px;
    float:right;
    clear:both;
}

/*end head*/

/*end header*/

#content_wrap {
    background : transparent;
    margin:0 auto;
    width:960px;
    padding:0;
    text-align:left;
    padding-bottom: 0px;
    
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    
    background:url('img/main-bg-960.png') repeat-y left center;
    /*border-bottom:1px solid #aaa;*/
    /*border-top:1px solid #eee;*/
}

/*content and post settings*/

#content{
    background:transparent;
    padding: 15px 30px 15px 30px;
    margin:0 auto;
    width: 680px;
    float: left;
    overflow:hidden;
    /*border-right:1px solid #EBEBEB;*/
}
.post{
    margin:0px 0px 15px 0px;
    padding:0px 0px 0px 1px;
    border-bottom:1px solid #EBEBEB;
}
.posthome {
    border-bottom:0px;
    margin-bottom: 20px;
}
.odd_bg{}
.even_bg{
    background:#F9F9F9;
    border-bottom:1px solid #EBEBEB;
    border-top:1px solid #EBEBEB;
}
/*---------------二级标题--------------*/
.posttitle{
    clear:both;
    margin:0;
    padding:0px;
    font-size:14px;
    text-decoration:none;
    text-align:left;
    font-weight:normal;
}

.posttitle a:link, .posttitle a:visited, #content h3 a:link, #content h3 a:visited  {
    text-decoration:none;
    border:none;
    font-weight:bold;
    color:#000;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}
.posttitle a:hover, .posttitle a:active, #content h3 a:hover, #content h3 a:active {
    border:none;
    text-decoration:none;
    color:#184ef3;
}
.single .posttitle {
    margin:0px 0px 15px 0px;
    font-size:22px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    color:#000;
    font-weight: bold;
}
.post_sticky {
    padding-left:38px;
    padding-bottom:10px;
    background:url('img/bubble.png') no-repeat left top;
}
#pagetitle {
    clear:both;
    padding:5px;
    margin:0px 0px 10px 0px;
    font-size : 22px;
    text-decoration:none;
    text-align:left;
    color:#000;
    font-weight:bold;
    
    background:#EBEBEB;
    
    border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}
/*---------------end 二级标题-----------*/

.postdate {
    margin:5px 5px 10px 0px;
    text-align:left;
    clear:both;
    font-size:14px;
}
.postdate a:link {
    font-weight:normal;
    text-decoration : none; 
}
.postdate a:visited {
    font-weight:normal;
    text-decoration : none; 
}
.postdate a:hover {
    font-weight:normal;
    text-decoration : none; 
}

.postdate strong{
    font-size:10px;
    font-weight:normal;
    margin-right:3px;
    padding:3px;
    
    border-radius: 1px;
    -moz-border-radius: 1px;
    -khtml-border-radius: 1px;
    -webkit-border-radius: 1px;
    
    border:1px solid #c6c6c6;
    background:#F5F6F7;
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.postdate strong a:link {
    color : #333333;
    text-decoration : none; 
}
.postdate strong a:visited {
    color : #333333;
    text-decoration : none; 
}
.postdate strong a:hover {
    color:#184ef3;
    text-decoration : none; 
}

.postmeta {
    float:left;
    margin-bottom:10px;
}
.gray-bg{
    border:1px solid #ddd;
    border-left:2px solid #000;
    padding:5px;
    max-width:400px;
}
div.postmeta p {
    margin: 2px 0px;
    padding:0px;
}
/*专用于非长条底色 start*/
.pagemeta {
    padding: 3px;
    clear:both;
    margin-bottom:20px;
}
div.pagemeta p {
    margin: 2px 0px;
    padding:0px;
}

.page{
    border-bottom:0px;
}

/*end*/

.postcontent {
    clear:both;
    line-height:2.0em;
}
.postcontent p{
    
}

/*google广告*/
.postcontent .adsense a{
    float:right;
}
.postcontent .adsense img{
    padding:0;
    margin:0;
}

#postmore{
    margin:0 auto;
    padding:2px;
    background-color:#CDEB8B;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
}


.pagecomments li {
    line-height:15px;
    padding-bottom:5px;
}

/*postnav*/
#postnav {
    clear:both;
    margin:0px;
}
#postnav li {
    display:inline;
    margin: 2px 0px;
}

/*相关文章*/
#content .related_post_title{
    font-size:12px;
}
#content ul.related_post{
    padding:0px;
    list-style:none;
    margin:0px;
    display:inline-block;
    width:100%;
}
#content ul.related_post li{
    float:left;
    font-size:10px;
    padding-left:18px;
    margin-right:10px;
    background:url('img/tag-small.gif') left center no-repeat;
}


/*关于本文*/
#content .contentinfo{
    font-size:10px;
    color:#f4f5f6;
    background:#000000;

}

#content .contentinfo p{
    padding:10px;
}


/*友情链接*/
#content #blogroll-list{
    margin:20px 0px 0px 30px;
    width:280px;
    clear:none;
    float:left;
    white-space:normal;
    word-break:break-all;
    word-wrap:break-word;
    overflow:hidden;
}
#blogroll-list .blogroll-title{
    border-bottom:1px solid #eee;
    margin:0;
    clear:none;
    padding-left:18px;
    background:url("img/group.png") no-repeat left center;
}
#blogroll-list ul.blogroll{
    list-style:none;
    margin:0px 0px 0px 0px;
    clear:none;
}

#blogroll-list ul.blogroll li{
    line-height:22px;
    padding:0px 0px 0px 18px;
    background:url("img/vcard.gif") no-repeat left 3px;
}

#blogroll-list a:link {
    color:#555;
    border:none;
}
#blogroll-list a:hover {
    color:#184ef3;
    border:none;
}
#blogroll-list a:visited {
    color:#555;
    border:none;
}

/*comments*/
#comments{
    font-weight: normal;
    margin:20px 0px -5px 5px;
    padding:5px 5px 10px 5px;
    text-align:center;

    width:80px;
    clear:both;
    color:#000000;
    border:1px solid #C6C6C6;
    
    box-shadow:0 1px 2px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.commentlist  {
    margin:0px;
    padding:0px;
    border-bottom:1px solid #EBEBEB;
}
.commentlist a:link {
    color:#555;
    border:none;
}
.commentlist a:hover {
    color:#184ef3;
    border:none;
}
.commentlist a:visited {
    color:#555;
    border:none;
}

.commentlist li{
    margin: 0px;
    padding: 5px 5px 10px 5px;
    list-style: none;
}
.commentlist li .avatar { 
    float: left;
    border: 1px solid #eee;
    padding: 2px;
    background: #fff;
}
.children { padding: 0; }

.commentlist li ul li{
    margin-right: 0px;
    margin-left: 0px;
}

.nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
    display:none;
}

.commentmetadata {
    margin: 0;
    display: block;
}
.commentlist p {
    font-weight: normal;
    line-height: 1.5em;
    text-transform: none;
    padding-top:5px;
    padding-bottom:3px;
}

.comment-author cite{
    font-style:normal;
    margin:0px 0px 0px 5px;
}
.avatar {
    float:left;
    border: 1px solid #eee;
    padding:2px;
}
.commentlist .commentmetadata a{
    padding:0px 0px 0px 5px;
}

#commentform fieldset {
    padding:0 0 0 2px;
    margin:0;
}
#commentform legend {
    font-weight:bold;
    margin: 10px 0px 5px;
    padding:2px 0px;
}

#commentform p {
    font-weight: normal;
    text-transform: none;
    margin:0px;
}
#commentform textarea {
    width:50%;
    margin:2px 2px 2px 0px;
}
#commentform label{
    display:block;
    clear:both;
}
commentform label.error, label.error {
    color: #FF0000;
}
#commentform input[type=text] {
    width:200px;
    height:20px;
    margin:2px 2px 2px 0px;
    vertical-align:middle;
}
#commentform input[type=submit] {
    background:#F9F9F9;
    width:120px;
    cursor:pointer;
    height:30px;
    font-size:14px;
    font-weight:bold;
    margin:2px 2px 2px 0px;
}
#commentform input[type=submit]:hover {
    border:1px solid #c6c6c6;
    background:#F5F6F7;
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.navigation {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
    background:#fff6ee;
}
.thread-alt {
    background-color: #f9f9f9;
}
.thread-even {
    background-color: #ffffff;
}
.even, .alt {
    border-left: 1px solid #ebebeb;
}
.depth-1 {
    border-top: 1px solid #ebebeb;
    border-left:0;
}
.reply {
    text-align:left;
    margin:0px 0;
}

.reply a{
    height:25px;
}

.reply a:hover {
    background : #fff;
    height:25px;
}
#cancel-comment-reply small {
    font-size:12px;
}
/*sidebar*/
#sidebar {
    background : transparent;
    padding: 0px 0px 15px 0px;
    margin: 0px;
    width: 220px;
    float:left;
    font-weight:normal;
    
    -moz-border-radius:0px 0px 10px 0px;
    -khtml-border-radius:0px 0px 10px 0px;
    -webkit-border-radius:0px 0px 10px 0px;
    border-radius:0px 0px 10px 0px;
}
#sidebar ul {
    list-style-type:none;
    margin: 2px 0px 0px 5px;
    padding:0px 0px 0px 5px;
}
#sidebar ul li ul{
	padding:0px;
}
#sidebar li{
    margin:0px;
    padding: 2px 8px 0px 0px;
    color:#888888;
    /*自动换行*/
    white-space:normal;
    word-break:break-all;
    word-wrap:break-word;
    overflow:hidden;
}
#sidebar div {
    margin: 0px;
    padding:0px;
}
#sidebar h3 {
    font-weight: normal;
    margin: 10px 0px 5px 0px;
    padding:2px 0px 3px 3px;
    border-bottom: 1px solid #EBEBEB;
    clear:both;
}

#sidebar li a:link {
    color:#888888;
    border:none;
}
#sidebar li a:hover {
    color:#184ef3;
    border:none;
}
#sidebar li a:visited {
    color:#888888;
    border:none;
}

#sidebar li p{
    padding:0px 5px 0px 5px;
    margin: 0px 0px 0px 0px;
    clear:both;
    line-height:1.5em;
}
#sidebar li p.about a:link{
    text-decoration: underline;
}
#sidebar li li {
    border:0;
}
#sidebar li li li {
    border:0px;
}

/* 文章单页 作者信息 */

#sidebar .single_about p{
    color:#888888;
    line-height:2.0em;
    border-bottom: 1px dashed #bbbbbb;
}
#sidebar .single_about p a:link,#sidebar .single_about p a:visited,#sidebar .single_about p a:hover{
    color:#333333;
}
#sidebar .single_about p b{
    color:#333333;
}
#sidebar .single_about p:last-child{
    border-bottom: 0px;
}

/* 关键词／标签云 */
#sidebar #tagcloud p a{
    background: #ebebeb;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

/*searchform*/
#searchform{
    margin-bottom:3px;
}
#searchform label {
    font-weight:bold;
}
#searchform input#s {
    
    width:55%;
}
#searchform input.submit {
    width:30%;
    border:1px solid #c6c6c6;
    background:#F5F6F7;
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}


/*Widgets fixing*/
/*Callendar*/
#wp-calendar a {
    font-weight:bold;
}
#today {
    background:#eee;
}


/*footer*/
#pagenav {
    width:100%;
    padding:10px 0px 10px 0px;
    float:left;
    clear:both;
}

/****new footer***/
#footer {
    position: relative;
    padding:0px 0px 10px 0px;
    clear: both;
    color:#555555;
    margin-bottom: -20px;
}
#footer a{color:#555555; text-decoration:none;}
#footer p {
    margin: 0 auto;
    padding: 10px 0 10px 0px;
    width:960px;
    text-align: left;
    font-size:11px;
}

.clearfix:after { content: "."; display: block;font-size:0;line-height:0; height: 0; clear: both; visibility: hidden;}
.clearfix {display: inline-table;zoom:1;}
/* Hides from IE-mac \*/
.clearfix {_height: 1%;display: block;}
/****new footer***/

/*forms*/
input , textarea, select, option {
    font-size:100%;
    padding: 2px;
    background : #fff;
    color : #111; 
    border: 1px solid #ccc;
    margin: 2px;
}
fieldset, legend {
    background:transparent;
    color : #111; 
    border: none;
    padding: 5px;
}
label, legend {
    font-weight:normal;
}


/*lists*/
ul {
    list-style-type: circle;
    list-style-position: outside;
    margin: 5px 2em;
    padding:2px;
}
ol { 
    list-style-position: outside;
    margin: 5px 2em;
    padding:2px;
}

/*tables*/
table {
    color : #111; 
    width: 90%;
    margin: 5px auto;
    padding: 0px;
}
caption {
    color: #333;
    font-weight: normal;
    padding: 5px;
}
td, th, tr {
    padding: 5px;
    text-align:left;
}

/*page_commentlist*/
#page_commentbox{
    
}

#page_commentbox .commentlist .depth-1{
    border-top: 1px dashed #ebebeb;
}
#page_commentbox .commentlist .depth-1:first-child{
    border-top:0;
}

#page_commentbox .comment-author cite{
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 5px;
    padding:0px 0px 0px 0px;
    border-bottom:1px solid #ebebeb;
}

/* Begin Images */
p img {
    padding: 0;
    max-width: 100%;
    }

/*  Using 'class="alignright"' on an image will (who would've
    thought?!) align the image to the right. And using 'class="centered',
    will of course center the image. This is much better than using
    align="center", being much more futureproof (and valid) */

img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

.alignright {
    float: right;
}

.alignleft {
    float: left;
}
/* End Images */

/* Captions */
.aligncenter,
div.aligncenter {
    clear: both;
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}
/* End captions */
#respond{
    margin:0;
}
#respond h3{
    margin:15px 0px 10px 0px;
    font-size:18px;
}

/*分页*/
#pagenav .wp-pagenavi {
    clear: both;
}
#pagenav .wp-pagenavi a,#pagenav .wp-pagenavi span {
    text-decoration: none;
    padding: 3px 5px;
    margin: 2px;
}
#pagenav .pages,#pagenav .current{
    background:#F9F9F9;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border:1px solid #ebebeb;
}
#pagenav .current{
    font-weight: bold;
    font-size:16px;
}
#pagenav .page,#pagenav .nextpostslink,#pagenav .previouspostslink{
    border:0px;
}

#wp_seccode input[type='text']{
    width:55px;
}
#wp_seccode img{
    margin-bottom:-8px;
}
.clean{
    clear:both;
}
